

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>

    <title>
    </title>
    <!-- 引入jquery -->
    <script type="text/javascript" src="../js/jquery.min.js"></script>

    <!-- 引入 css  -->
    <!-- 引入bootstrap的css -->
    <link  href="../js/bootstrap3/css/bootstrap.css" rel="stylesheet" >
    <!-- 引入bootstrap-treeview的css -->
    <link rel="stylesheet" href="../js/bootstrap-treeview/bootstrap-treeview.min.css">
    <!-- 引入bootstrap-addTabs的css -->
    <link  href="../js/bootStrap-addTabs/bootstrap.addtabs.css" rel="stylesheet" >
    <!-- 引入bootstrap-table的css -->
    <link  href="../js/bootstrap-table/bootstrap-table.min.css" rel="stylesheet" >


    <!-- 引入 js  -->
    <!-- 引入bootstrap的js-->
    <script type="text/javascript" src="../js/bootstrap3/js/bootstrap.js"></script>
    <!-- 引入bootstrap-treeview的js-->
    <script type="text/javascript" src="../js/bootstrap-treeview/bootstrap-treeview.min.js"></script>
    <!-- 引入bootstrap-addTabs的js-->
    <script type="text/javascript" src="../js/bootStrap-addTabs/bootstrap.addtabs.js"></script>
    <!-- 引入bootstrap-table的js-->
    <script type="text/javascript" src="../js/bootstrap-table/bootstrap-table.min.js"></script>
    <script type="text/javascript" src="../js/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
    <!-- 引入bootbox.js -->
    <script type="text/javascript" src="../js/bootstrap-bootbox/bootbox.js"></script>
    <!-- 引入fileinput的js -->
    <script type="text/javascript" src="../js/bootstrap-fileinput/js/fileinput.min.js"></script>
    <!--  引入fileinput的js -->
    <script type="text/javascript" src="../js/bootstrap-fileinput/js/locales/zh.js"></script>
    <script type="text/javascript" src="../js/bootstrap-fileinput/themes/fa/theme.js"></script>


    <link rel="stylesheet" href="//g.alicdn.com/??kg/global-util/1.0.6/index-min.css,kg/tb-nav/2.4.1/index-min.css">
    <link rel="stylesheet" href="//g.alicdn.com/tbc/search-suggest/1.4.5/??new_searchbox-min.css,new_suggest-min.css">
    <link rel="stylesheet" type="text/css" href="//g.alicdn.com/tb/smf/1.4.2/utils/applyCoupon-min.css" />

    <script src="//g.alicdn.com/??kissy/k/1.4.16/seed-min.js,kg/kmd-adapter/0.1.5/index.js,kg/kmd-adapter/0.1.5/util.js,kg/global-util/1.0.7/index-min.js,tb/tracker/4.3.18/index.js,kg/tb-nav/2.5.4/index-min.js"></script>
    <script>KISSY.config({modules:{'flash':{alias:['gallery/flash/1.0/']}}});KISSY.use('kg/global-util/1.0.7/');KISSY.config({modules: {'kg/tb-nav':{alias:'kg/tb-nav/2.5.4/',requires:['kg/global-util/1.0.7/']}}});KISSY.ready(function(){KISSY.use('kg/tb-nav')});</script>
    <script src="//g.alicdn.com/kissy/k/1.4.16/import-style-min.js" data-config="{combine:true}"></script>


    <script id="J_ConfigScript" src="//g.alicdn.com/tb/mercury/6.0.8/config.js" data-v="6.0.8" type="text/javascript"></script>
    <script>
        XCake.config({
            name: 'mercury',
            base: '//g.alicdn.com/tb/mercury/6.0.8',
            combine: true
        })
    </script>

    <script>KISSY.importStyle('mercury/p/itemimglist/index');</script>
    <style>
        .site-nav .my-taobao .menu-bd-panel a:nth-child(4) {
            display: none;
        }
    </style>

</head>
<body data-spm="7386009"><script>
    with(document)with(body)with(insertBefore(createElement("script"),firstChild))setAttribute("exparams","userid=2673982415&aplus&asid=Ac+7YZ+zdohd1UJUBwAAAACul08cOB76CA==&sidx=0&ckx=|",id="tb-beacon-aplus",src="//g.alicdn.com/alilog/mlog/aplus_v2.js")
</script>
<div class="site-nav" id="J_SiteNav" data-component-config='{ "cart": "0.0.6","message": "3.4.6","umpp": "1.5.4","mini-login": "6.3.8","tb-ie-updater": "0.0.4","tbar": "2.1.0","tb-footer": "1.1.7","sidebar": "1.0.10" }' data-tbar='{ "show":true, "miniCart": "2.12.2","paramsBlackList": "_wt,seeyouagain1722","my_activity": "https:&#x2F;&#x2F;market.m.taobao.com&#x2F;apps&#x2F;abs&#x2F;5&#x2F;38&#x2F;my12?psId=58386&amp;pcPsId=58388", "venueUrl": "https:&#x2F;&#x2F;1212.taobao.com?wh_weex=true&amp;data_prefetch=true&amp;wx_navbar_transparent=true", "helpUrl": "https://consumerservice.taobao.com/online-help", "validTime":{"startTime": 1512057599, "endTime": 1513094400}, "style": {"name": "171212", "path": "kg/sidebar-style-171212/0.0.5/" }, "page":[],"blackList":[],"navDataId":{"tceSid":1182567,"tceVid":0},"pluginVersion":{ "cart":"0.2.0","history":"0.2.0","redpaper":"0.0.8","gotop":"0.2.5","help":"0.2.1","ww":"0.0.3","pagenav":"0.0.27","myasset":"0.0.9","my1212":"0.0.1","my1111":"0.2.2"}}'>
    <div class="site-nav-bd" id="J_SiteNavBd">

        <ul class="site-nav-bd-l" id="J_SiteNavBdL" data-spm-ab="1">


            <li class="site-nav-menu site-nav-mobile" id="J_SiteNavMobile" data-name="mobile" data-spm="1997563273">
                <div class="site-nav-menu-hd">
                    <a href="../page/loginqi" target="_top" >
                        <span  >请登录！</span>

                    </a>
                    <a href="../page/zhuye" target="_top">

                        <span>任性逛金科商城</span>
                    </a>

                </div>







        </ul>









            <li class="site-nav-menu site-nav-weekend site-nav-multi-menu J_MultiMenu" id="J_SiteNavWeekend" data-name="weekend" data-spm="201711111212">
            </li>



        </ul>

        <ul class="site-nav-bd-r" id="J_SiteNavBdR" data-spm-ab="2">


            <li class="site-nav-menu site-nav-home" id="J_SiteNavHome" data-name="home" data-spm="1581860521">
                <div class="site-nav-menu-hd">
                    <a href="../page/zhuye" target="_top">

                        <span>金科首页</span>
                    </a>

                </div>

            </li>




            <li class="site-nav-menu site-nav-mytaobao site-nav-multi-menu J_MultiMenu" id="J_SiteNavMytaobao" data-name="mytaobao" data-spm="1997525045">
                <div class="site-nav-menu-hd">
                    <a href="../page/zhuye" target="_top">

                        <span>我的金科</span>
                    </a>

                    <span class="site-nav-arrow"><span class="site-nav-icon">&#xe605;</span></span>

                </div>

                <div class="site-nav-menu-bd site-nav-menu-list">
                    <div class="site-nav-menu-bd-panel menu-bd-panel">



                        <a href="../page/zuju" target="_top">我的足迹</a>

                    </div>
                </div>

            </li>




            <li class="site-nav-menu site-nav-cart site-nav-menu-empty site-nav-multi-menu J_MultiMenu" id="J_MiniCart" data-name="cart" data-spm="1997525049">
                <div class="site-nav-menu-hd">
                    <a href="../page/shopCar" target="_top">
                        <span class="site-nav-icon site-nav-icon-highlight">&#xe603;</span>
                        <span>我的购物车</span>
                    </a>
                </div>
            </li>
        </ul>
    </div>
</div>

<!--[if lt IE 8]>
<style>html,body{overflow:hidden;height:100%}</style>
<div class="tb-ie-updater-layer"></div>
<div class="tb-ie-updater-box" data-spm="20161112">
    <a href="https://www.google.cn/intl/zh-CN/chrome/browser/desktop/" class="tb-ie-updater-google" target="_blank" data-spm-click="gostr=/tbieupdate;locaid=d1;name=google">谷歌 Chrome</a>
    <a href="http://www.uc.cn/ucbrowser/download/" class="tb-ie-updater-uc" target="_blank" data-spm-click="gostr=/tbieupdate20161112;locaid=d2;name=uc">UC 浏览器</a>"
</div>
<![endif]-->
<script src="//g.alicdn.com/tb/mercury/6.0.8/c/responsive/index.js"></script>
<script src="//g.alicdn.com/tb/mercury/0.5.27/_1v.js"></script>



<!-- /2016/top -->
<script>

</script>
<div id="page" class="page-itemimglist">
    <div id="content">
        <div id="mercury" class="">





            <!-- info.pageType 1 -->




            <div id="fav-tab">
                <div id="fav-tab-bd">
                    <div data-spm="1997992801" id="fav-tab-menu" class="clearfix floatleft" >

                        <a aria-label="您可以使用tab键寻找您的收藏" class="fav-logo" href="/">
                            <img aria-label="欢迎访问淘宝收藏夹" ><i><font size="6" color="#ff8c00">金科</font></i> &nbsp;<font size="4">商城</font>
                        </a>

                        <a class="item-page current"
                           href="" data-spm="d4919241">宝贝收藏</a>



                        <div class="more-list J_FavTabMore hidden">
                            <a class="buyed-page " target="_blank"
                               href="/bought_shop_list.htm?itemtype=0"
                               data-spm="">
                                购买过的店铺
                                <i class="i"></i>
                            </a>
                            <div class="more-popup">
                                <ul>
                                    <li class="more-item">
                                        <a class="tab-link" target="_blank"
                                           href="//trade.taobao.com/trade/itemlist/list_bought_items.htm"
                                           data-spm="d4919253">已买到的宝贝</a>
                                    </li>
                                    <!-- <li class="more-item">
                                        <a class="tab-link" target="_blank"
                                            href="/bought_shop_list.htm?itemtype=0"
                                            data-spm="">购买过的店铺</a>
                                    </li> -->
                                    <li class="more-item">
                                        <a class="tab-link" target="_blank"
                                           href="../page/zuju"
                                        >我的足迹</a>
                                    </li>
                                    <!-- <li class="more-item">
                                        <a class="tab-link" target="_blank"
                                            href="//i.taobao.com/my_taobao.htm"
                                            data-spm="d4919257">我的淘宝</a>
                                    </li> -->
                                </ul>
                            </div>
                        </div>

                    </div>

                    <div class="fav-search" data-spm="">
                        <div class="search " id="J_Search" role="search">
                            <div class="search-panel search-sns-panel-field">
                                <form class="search-panel-focused" id="J_TSearchForm" name="search" action="//s.taobao.com/search" target="_top">

                                    <div class="search-button">
                                    </div>
                                    <div class="search-panel-fields">

                                    </div>
                                    <input id ="J_SearchSpm" type="hidden" name="spm" value="">
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>





        </div>
    </div>
</div>







<div id="chaxun" style="margin:0 auto;border:0px solid #000;" class="alert alert-warning"></div>



<script>


    //查询    数据展示
    $(function () {
        //创建bootstrapTable
        $("#chaxun").bootstrapTable({
            url: "../user/queryCollect",
            method : 'post',
            border:'1px solid transparent',
            sidePagination : 'server',
            columns : [
                { field : 'checkbox',checkbox : true}, //开启复选框

                {field : 'xx', title : '商品信息', width : 800,height:500,
                    formatter:function(value,row,index){
                        var a="<img src='"+row.productImg+"' width='80' height='80'>";
                        a+="<a href='javascript:xiangqing("+row.id+")'>  "+row.productName+"   </a>";
                        return a;
                    }
                },



                { field : 'productPrice', title : '单价', width : 200,height:500,
                    formatter:function(value,row,index){
                        return "￥"+value;
                    }
                },



                { field : 'x', title : '操作', width : 300,height:500,formatter:function(value,row,index){
                        return "<a href='javascript:shanchu("+row.id+")' >删除  </a> "


                    }}

            ]
        })
    })

    //详情
    function  xiangqing(id){

        sessionStorage.setItem("productId",id);
        location.href="../page/goumai?id="+id;

    }



    //删除收藏内容
    function shanchu(id) {
        bootbox.confirm("你确定要删除这个收藏内容吗？", function(result) {
            if (result) {
                $.ajax({
                    url: "../cjq/delDiscuss",
                    type: 'post',
                    data: {id:id},
                    success: function (data) {
                        if (data) {

                            bootbox.alert({
                                title: '提示',
                                size: 'small',
                                message: '删除成功',
                            })

                        } else {
                            bootbox.alert({
                                title: '提示',
                                size: 'small',
                                message: '删除失败',
                            })
                        }
                    }
                })
            }
        })
    }

</script>
















</body>
</html>


